<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" type="text/css" href="./index.css" />
</head>
<div class="test"">0123456789 人 拼 团 已 正在 抢购 </div>
<style>
@font-face {
        font-family: 'test';
        src: url('./youshe.ttf');
        font-weight: normal;
        font-style: normal;
    }

    /*使用选择器指定字体*/
    .test {
        font-family: 'test';
    }
</style>
</html>

